package com.fzdy.product.entity;

import lombok.Data;

import javax.persistence.*;

@Entity
@Table(name = "t_order_process")
@Data
public class OrderProcess {
    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "process_id")
    private Integer processId;
    @Column(name = "sort")
    private Integer sort;
    @Column(name = "process_scheme_id")
    private Integer processSchemeId;

    public OrderProcess() {
    }

    public OrderProcess(Integer processId) {
        this.processId = processId;
    }

    public OrderProcess(Integer processId, Integer sort, Integer processSchemeId) {
        this.processId = processId;
        this.sort = sort;
        this.processSchemeId = processSchemeId;
    }
}
